package com.czf.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户基本信息表
 * </p>
 *
 * @author chenzhanfan
 * @since 2022-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserBaseInfo对象", description="用户基本信息表")
public class UserBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "user_id",type = IdType.INPUT)
    private Long userId;

    @ApiModelProperty(value = "职业")
    private String occupation;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "工作单位")
    private String workType;

    @ApiModelProperty(value = "婚姻情况")
    private Boolean marriage;

    @ApiModelProperty(value = "居住情况")
    private String liveInfo;


}
